Fixing Linux build issues