added c99 compile flag
cleanup for c99
c99 updates