Fix compilation errors on CRAN Windows Server
00install.out
gcc -shared -s -static-libgcc -o baseflow.dll tmp.def entrypoint.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -L. -Lrustlib/target/x86_64-pc-windows-gnu/release -lrustlib -lws2_32 -luserenv -lshell32 -ladvapi32 -fopenmp -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: rustlib/target/x86_64-pc-windows-gnu/release/librustlib.a(std-efaf1f98469bce6b.std.11d9c719ffa149c1-cgu.0.rcgu.o): in function `std::sys::windows::fs::open_link_no_reparse':
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/fs.rs:818:(.text+0x3b64c): undefined reference to `NtCreateFile'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/fs.rs:847:(.text+0x3b6af): undefined reference to `RtlNtStatusToDosError'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: rustlib/target/x86_64-pc-windows-gnu/release/librustlib.a(std-efaf1f98469bce6b.std.11d9c719ffa149c1-cgu.0.rcgu.o): in function `std::sys::windows::c::NtReadFile':
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/c.rs:286:(.text+0x3efa5): undefined reference to `NtReadFile'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: rustlib/target/x86_64-pc-windows-gnu/release/librustlib.a(std-efaf1f98469bce6b.std.11d9c719ffa149c1-cgu.0.rcgu.o): in function `std::sys::windows::handle::Handle::synchronous_read':
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/handle.rs:268:(.text+0x3eff0): undefined reference to `RtlNtStatusToDosError'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: rustlib/target/x86_64-pc-windows-gnu/release/librustlib.a(std-efaf1f98469bce6b.std.11d9c719ffa149c1-cgu.0.rcgu.o): in function `std::sys::windows::c::NtWriteFile':
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/c.rs:309:(.text+0x3f105): undefined reference to `NtWriteFile'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: rustlib/target/x86_64-pc-windows-gnu/release/librustlib.a(std-efaf1f98469bce6b.std.11d9c719ffa149c1-cgu.0.rcgu.o): in function `std::sys::windows::handle::Handle::synchronous_write':
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/handle.rs:314:(.text+0x3f13c): undefined reference to `RtlNtStatusToDosError'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: rustlib/target/x86_64-pc-windows-gnu/release/librustlib.a(std-efaf1f98469bce6b.std.11d9c719ffa149c1-cgu.0.rcgu.o): in function `std::sys::windows::rand::hashmap_random_keys':
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/rand.rs:8:(.text+0x43235): undefined reference to `BCryptGenRandom'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/rand.rs:8:(.text+0x5504b): undefined reference to `BCryptGenRandom'
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'baseflow'