NDEBUG flag was missing in production settings