Removed C99 features for MSVC 2010 compatibility