Add perl requirement to automake

Perl is necessary for automake to work, and that dependency wasn't listed before.