Fix checking of TARGET_* symbols
Merge pull request #204 from fatih-asici/master

Fix checking of TARGET_* symbols