Fixed parse to work on non c99 compilers