Fixed compile errors for VS2012