Fix signedness warning on OS X build of the testsuite.
Fix the path to the GL library on OS X.