common: make libc reference in util look for the libc in util

Fixes #273.