Fix a new compilation/linking issues with VC++12.