Fixed building export issue