GCC on OS X does not understand -Wl,-Bstatic