Edit CMakeLists.txt for OSX
set Xcode attribute by attribute
Variables export