Make luangx work on OSX