Fix cmake for non yocto

Clean up lots of target from CMakeLists.txt.in which are already
part of CI. Added new ipmid library link and make changes to build
it from CI.

Change-Id: I2114e5ec9f0a194214e53f8e7fda873be758da91
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
2 files changed