correct build problem on x86_64 darwin system