correct build of mstools project
update build make files and builder control file
correct prototypes
remove redundant files