OS-1588 library search path very broken in perl build