Use CheckFunctionExists instead of abusing CheckLibraryExists