CLN: cmake should not use the curdir