Adding '-std=c99' flag to enable compilation on gcc-4.9