sync linux version and fix compiler error