Improve OBJDIR detection.

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