fix for issue #270; also fixed search lib installer; some other fixes