Yet another attempt to get library search paths working