Add DESTDIR support
Clear extra newlines before EOFs