Adding required -std=gnu99 flag