build: Trying to make the build process a bit more sane.