Fix build copy errors