minor: remove illegal characters from buildvariant name
minor: enable leak detection