Fix MS compiler warning