fix call to directory-file-name(nil) when cmake-project-build-directory ...

Was getting an error when first calling cmake-configure-project inside a project subdirectory.