Fix collection-valued functions with empty result
Support ability to execute application without External Library