Fix output name for mojo_application template on mac

The output shared library name is of the form libXXX.dylib on mac, not
XXX.so.

R=qsr@chromium.org

Review URL: https://codereview.chromium.org/727573003