Added explicit imports and C99 compiling