Removal of DEBUG pragmas to make release build work