Trailing build system cleanups.

The .gitignore files had problems, and the build steps could be
simplified.
Merge pull request #298 from prometheus/refactor/build/cleanups

Trailing build system cleanups.