Fix setting library file
Virtualize file system access (for tests)
Use ctypes find_library to find clang
Added basic regression tests