Fixes to install headers and use external dependencies

Hi Jean-Michaël et al,

Here are some CMake fixes to install headers and use external dependencies (boost, dl, sndfile).

Best regards,
Christian