Update Build.pm

Update deprecated code
Merge pull request #1 from nbrown/patch-1

Update Build.pm