Some more gcc flags couldn't hurt.