Make 5-5 compile on gcc in linux

Define standard aas c99 and define macro required for some types and
functions.