Cannot use unexported Java 9 package

I am trying to port an existing multi module Maven/Java 8/Kotlin project to Java 9. I am using Kotlin 1.1.50.
In a Kotlin class I am using sun.security.pkcs11 package. When I try to compile the project it gives me errors like Unresolved reference: pkcs11.
The sun.security.pkcs11 package is in jdk.crypto.cryptoki module. When I look at the module-info.java I see that the package is not exported. Is there a way I can use Java 9 unexported modules in my code? Or should I wait for a future release of Kotlin?

This is a JVM 9 feature.