Lackey earns first Cubs win