defined takes a string arguement

Need to quote constant name when using defined()
Merge pull request #10 from hardyjohnson/patch-1

Thanks!