fir compile error in Mac OS X