Fix building error in Linux