fix syntax in osx sdk detection
fix recursive variable issue with MAC_OS_SDK_ROOT
Merge pull request #8 from thiagohersan/feature-makefileRefactoring

fix to osx sdk detection