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

I had to make these changes to make taglib compile as a library within my cmake based project
Please make this an `option()`