remove switch to shared libs for linking windows binaries