Prefer LDFLAGS over LIBRARIES for pkgconfig packages
LDFLAGS include LIBRARIES, therefore remove duplicates Replaced LIBRARIES with LDFLAGS for gtk and gtkspell so they work even if the libraries are not in a standard path removed the hack that was added at some point explicitly for macOS adding CMAKE_PREFIX_PATH as a -L flag