Changed gcc invocation to be more portable.