Fix some paths for libraries