Added quickfix for PLATFORM_CLASS_MAPPED_TO_KOTLIN.

Previous attempt: #214

I fixed all of the issues you mentioned. Renamed imports worked fine, even with my previous pull request. I did update to the latest master though, so maybe something changed upstream?