rdata fields for MX
builddir != srcdir

revert commit 42bdfdd06ac27efee275f56af28453e33eb0c4cf
Fix -I and -L flags to look into builddir too

And removal of looking into /usr/local/include and /usr/local/lib.
I hope this doesn't break anything...
prefer includes local to builddir