Use c99 explicitly and remove warnings in linux