Remove unnecessary import of std.metastrings
fix compilation with DMD 2.066 or later
Remove disused functions