scangobj: use EXEEXT to make the scanner work on platforms such as windows