Fixed issue with dynamic inheritance where proxies class was not being compiled.