Reorganize the libraries searched for keurocalc
Explicitly search for and link against all the required libraries.