A few more atsmake fixes

More converting ifeq -> ifndef and the like; looks like I missed a
couple before.
Merge pull request #43 from zenhack/master

A few more atsmake fixes