added cuda setup for mac