Fix paths for some libraries