changes to make linux build compile