Improve OBJDIR detection.

Uses buildenv to grab the real obj prefix and concatenates
the source directory. Only tested on 9+ so I left the 9 case
in place.