Allow non-string args to compile task. Fixes #1442