Switched build framework to CMake.

Signed-off-by: Ronald Huizer <r.huizer@xs4all.nl>