Fix -Wall warnings in Build.hs.
Fix -Wall warnings in annotated Build.hs.