Switched to cmake build using external project