Kotlin compatibility fix

Fix add ability to deveop games with kotlin (see. http://kotlin.jetbrains.org/). Issue http://youtrack.jetbrains.com/issue/KT-3091 didn't fix