Disable some compiler warnings for externals.