I will be reporting this upstream. However https://code.google.com/p/orthanc/wiki/FAQ#I_use_Mac_OS_X,_how_can_I_build_Orthanc? would suggest that merging a patch for mac compatibility is not a high priority for the Orthanc team.