Fix build by adding a helper from rootbox