install right libmozjs version depending on os