Switched to CMake for building. Run: cd build && cmake . && make