Added an --enable-debug and made debug-printf macro more fancy