Improve out-of-source build by fixing a few paths relatively to CMAKE paths and using a path through a cmake variable
Merge pull request #6 from Joacchim/master

Improve out-of-source build