fix location of libraries on build