Add DESTDIR

Completely trivial bit of code to add DESTDIR support ...
the other hunks are to prevent file been deleted and some local build changes