Add support for profiling build

Add an option to configure for compiling a profiling build and set C and
C++ compiler flags for this build
Update .travis.yml: Update cmake call

Update cmake call in the .travis.yml script to set the installation prefix
right. This was still erroneously using the `make` option, which wouldn't work
right without the proper option to `cmake`.