cmake: Now compiles as a library within a larger cmake based project