fix Add.frag in Mac OS X