fixed linux build issues