Make analyse.sh platform agnostic.