ungly fix for compiling exp on mac
Merge pull request #605 from debris/mac_fix_exp

ungly fix for compiling exp on mac