Fix test builds when building as a sub-project

Should use project / current relative paths instead of the top-level CMAKE_SOURCE_DIR