bug: assignment should be a comparison
enable c++0x also on mac
changes for mac