resolve library inclusion trouble