Make Makefile parsable by nmake

NMake does not use {} and the if statements in the
makefiles is a gnu extension. You can either run

make -e to allow the environment value of testname
override the setting, or pass make TESTNAME=xxxx

Change-Id: I56520001c40899875a3db43d64a7e5c5f3a8cfca
Reviewed-on: http://review.couchbase.org/35187
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Reviewed-by: Tommie McAfee <tommie@couchbase.com>