Fixed variable string processing

Also installed project generation scripts; to simplify makefile building in upstream projects.