More compilation scripts, tweak warning flags.