Make project compatible with VS2012