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

Follow up to scala-js/scalajs-cross-compile-example#1