Update Build.pm

Update deprecated code