add dynamic library generation to libsqlite and libx264