Workaround binary incompatibility with reflection.

Fixes typelevel/wartremover#123.

All the credit to @retronym.
Merge pull request #128 from dwijnand/fix-for-sbt-0.13.6+

Workaround binary incompatibility with reflection.