script for checking out and building old versions for tests