use cmake

Default Makefile not so nice.