Fix to use relative paths instead as the build_dir is a temp dir.