Use cmake to build proj