Merge "Make bmod compatible with custom $OUT_DIR."