Do not error on deprecated declarations
Use consistent configure-like install paths

The paths have to be given as cmake -DLIBDIR=/usr/lib64 etc.