[PATCH] macosx: Correct variable name when creating main task