Added #if to be compat with VS2013