C++03/11 apple fix, test macro