Enable building and running of unit tests in CI for C3 as well as fix related compile errors Also enables building of C3 test apps