[build] Make sure our build magic is both explained and easy to find

Pull our build magic into a separate file with a nice big comment
explaining exactly what we use it for.