r22681: Fix standalone ldb build when parent directory name != ldb.