Update build system.
Add minimum Perl version.