Fixed VS compile error.