Class loading issues when compiling huge numbers of scripts