Advanced warnings for windows compiler
build static libs by default on windows