make build/install folder relative and support symlinks