revision to macx lines to simplify mac compiling