LoomScript updates for Mac build