Try to clean up videocards detection

Need more testing on Mac