fixed a bug so that kannel can be correctly installed from the filesystem