Fix a error in packaging up python dll.

Refs #8135