BUG Fix call to protected static method

Fixes issue noted in https://github.com/silverstripe/silverstripe-framework/pull/3486 and https://github.com/silverstripe/silverstripe-cms/pull/1117