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
Actually, you already should be able to build a static version using `-DENABLE_STATIC` according to INSTALL, so this should not be needed at all.