Fix build and remove autogenerated files