switch to cmake for build tools