Test that Perl scripts are compilable before packaging.

Change-Id: I366825b809c1e228b1b39e9aac403e9202156faa
Merge "Test that Perl scripts are compilable before packaging."