Add fs-ca rehash tool
Fix FS-C version related compilation issues