sqlite3ext.h should not have been included unconditionally -- it is specific to dlls where host app provides sqlite impl.  sqlite3ext.h needed to be added to repo, nonetheless, for some configurations.  As such, sqlite3.h,.c were updated to be consistent with that file version (and also the final released version of 3.8.7)