Fix calling template base class constructor
Remove byte order marks from sources