Fix for async-compile ignores optional inputs

Closes #75.
Fix for async-compile does not propagate optional arguments.
Merge pull request #77 from bkirkbri/async-optional-fix

Async optional fixes