Fixed statis link library issues, and ran successful tests. fixes #005