Cmake: update to work with 3.0 version. Set policy to the current cmake version. Fix rs library name with c bindings. Use generator expression with cmake 2.8.12 or never.