Make the build process use the appropriate cake configuration file for the system it is currently running on

Currently tested on Centos6 (with extra gcc packages) and high hopes of working on Fedora 17
Merge pull request #1 from DrGeoff/master

Make the build process use the appropriate cake configuration file.