changes required to distribute and build from gen'd C file