Add vim modeline to init_buildsystem
Tidy up case statements
Merge pull request #108 from leighman/master

Tidy up init_buildsystem a bit