Fix compiling on OS X

This just fixes compiling on OS X. Broken here https://github.com/fabiensanglard/chocolate_duke3D/commit/ad369f8403210aaec8e9f1fbfbcafbe54c0c4823#diff-728b10db1232136e3db4584b44472c10R8071