Fixing perl build