Remove generated config.h
Make shared lib as well.