Fixed Kotlin const generation