fixed up new examples
taking static libs into consideration