IMPULSE-16 Use CMake

Fixes https://github.com/cwgreene/Impulse/issues/16