Fix build with -std=c99