misc build sys fixes

Please review exclude patterns update-potfiles, could be that Documentation/ was never needed.