Use FRAMEWORK_LIBS instead of LIBS for .frameworks

This allows linking the framework against other frameworks rather than
other shared libs.