Fixed trivial error causing segfaults in stdlib's bsearch function. Due to this fix, it so far appears that the checker for semantic functions works. So far it simply checks if a function exists.