updating build.pl to allow older perls