added possiblity to compile via cmake/make