Fix wscript for library dependency: refs #771