Added options to allow compilation on OS X

I had problems compiling the driver on OS X, so I changed the qmake file. Since the library uses C++11 features, the code won't compile on OS X 10.6 or earlier.