Compiling cf4ocl libs into shared lib with CMake

Still work in progress