Fix for problem with cglib proxies in spring boot apps