Restore compatibility with ISO C

Tested on Windows with msvc9