Fix to linux build