C: Improve autoloading, still not works safely