Use (baseDirectory in root).value instead of root.base

Follow up to scala-js/scalajs-cross-compile-example#1
Merge pull request #66 from gzm0/fix-cross-compile

Use (baseDirectory in root).value instead of root.base