bugfix: fix linux build issues.