Fixed linux build issues