Pr various cmake fixes

Added support to be able to build pocl against llvm from build dir.
I think that this test should be done with host compiler since as far as I know -NDEBUG relates on compiling pocl's optiomization etc. passes correctly and not about kernel code compilation.