Added config.sub to fix bug #26.