Add the global function library as an external compiler dependency.
This change allows a bryg user to add global functions to the library and use one library with multiple compilers.
Remove the setFunction method from the Library interface, as not every library should be required to allow adding functions.