Fix undefined JDEBUG constant