Fix compiler warnings in VS2012.