Adjust paths and costs in Pathfinder.
Update SQLite to 3.8.7:
sha1: 3e23079f062fc06705eead4db108ee429878b532