add changes for linux build