Fixed linux build issues.