Correct builtin function resolver

Fix to ensure that builtin function arguments are not resolved until it is actually time to make the call (when dont_resolve_unknowns == 0).

This fixes #27.