fix non-perl build