Fix mac crash lookupTable + mac builder

Fix mac crash lookupTable + mac builder