Updated Build Scripts to support pull request builds on TeamCity