Improved import behavior for non-default python libraries