Fixing library search paths to work on other machines