updated makefile to C99 standard