extend wrapper generator to allow specifying namespace of library