Implement H3D_DEBUGGER_OUTPUT for non-windows platforms

Proposal to fix #56