Fixed compilation on OSX build server (hopefully?)

For some reason it doesn't like the -Wno-unused-but-set-variable flag, even though it works on my MacBook Air running OS X 10.8.