TS-2950: Make libck configure and build