explicitly requiring ansi standard, added -ansi flag in compilation