Fixing null pointer extension, don't compile with debug flags anymore