A skeleton for writing cross-platform Scala libraries