fixed a bug that was limiting the number of nested user-defined classes in a schema, cleaned up a bit in the build file