sqlite: Update to 3.8.7.1
gdb: Rebuild for gcc-4.9.2. Add patches from cygwin