Fix build based on patch from Ryan Hodge