Adding in support for GPU detection on OS X. Tested by @spaghetti2514 and Hu6.