fix OSX Theme detection