fix 'make reinstall'