Allow dashes in build paths, use replacePath for buid path as well as source paths