More build fixes for old Ubuntu versions.

Make the extension methods from the previous commits visible everywhere.