Fix another compile error in macosx build