Use feature macros, now compiles with -std=c99.