Switch from gnu99 to c99.

There was a bad attempt at removing gnu99 (pull #51) and when I saw it almost month ago I just had to do it properly, but because I was doing other things simultaneously back then I forgot to push it in the end. So here it is, finally.