Adapt MSVC static lib project for MSVC 2012