Added convenience function for static libs