turn off static library compilation on windows