Added support for loading mac modules