Merge pull request #33 from dannomac/fix_objdir

Improve OBJDIR detection.
Merge https://github.com/kientzle/crochet-freebsd