Adds pedantic and ansi flags to compiler.  Fixes compiler warning for void* in pointer arithmetic