Fixed build with VS2012