Fixed some problems in 'make archive'.