Support VS 12 compilation with Extern libs.