Change gcc compile options to remove warnings