Fixes relative paths of Before Build commands

New relative paths are relative to the ProjectDir, instead of
hard-coded paths.