Prepares environment and builds logshipper packages