Updated build to use c99