Set DIST_DIR correctly for normal files with custom location