Out of slicer source build rebased

This corresponds to the branch `out-of-slicer-source-build` previously associated with pull request #9 but now rebased against the current master.

Note for later: If the merge proposed by github wouldn't be possible it would tell it to you. It means it would have been possible to merge the branch directly.