Switched to cmake build system