static linking tries install autoconf, libtool do cargo vcpkg install (install cargo-vcpkg first) go to target/vcpkg/ports/libsystemd/portfile.cmake and comment out line 44-49 and line 52 rerun vcpkg install again build with release mode (cargo build -r)