fix library building so creates a shared lib