remove unwanted characters from builddirs
added a remove_unwanted_chars function
Merge pull request #591 from JensTimmerman/extensions

remove unwanted characters from builddirs