Added a '--realease' option to the build system.

This command-line option causes a release build to be produced, instead
of a debug build which is the default.