correct build paths for Legal and Profile for Core 1.3.7+