Statically imported method was shadowed by member method on newer compilers