Added properly locating libraries