Fix build for publishing.