remove unwanted characters from builddirs

+ some other slight changes to extensions, added to debug some stuff for Perl