Fix naming of directory in HEAD install.

HEAD installs of the `homebrew-science` version of the formula are broken because the install directory was renamed from `BEASTv1.8.0` to `BEASTv1.8.1pre`.  The revised formula can handle this and future updates as well.