Fixed dbgprint error on linux