fixed clash with gtest, added debug flag