Fix non-perl build