Fix tests failing with the XCode generator.

XCode puts generated targets into CMAKE_CFG_INTDIR, which is calculated
at built-time, so add a small shim to hoist that out and determine it
at verify-test time.
Update travis.yml to include Makefile and Ninja generators