Fix loading C library