Moving to CMake build for our product

Change-Id: I2f5d7a865d2289b09a87d8079340b191668e2f16
Replace C++ style comments

Change-Id: I74cdb9d8e794ec81c3f7458f28519788c4f2fe29
Remove inline keyword (moving to C89)

Change-Id: I1d6fc0386fe48fca33c579c870046b31e5aff835
Use C89

Change-Id: I4bb2dc1db1a8ecb9cfb6396666bf8d58a898cde5