Changes to the makefile to get the nightly tests to pass

1) Add -lcuda and similar for the gpu tests

2) Don't build the generators with build_tests. build_tests
doesn't currently run any Halide code. I.e. it's supposed to
build the generators, but not run them yet. With this change
it does neither, which isn't ideal.