Fix build errors and hide a warning