fix part of linux compile error
fix linux build