Slightly better handling of linux gcc compilation.