Fix build error for linux.