[carthage] Enabled asserts for release configuration