fixed issue with compiler cache and Context.defineType