Add Mac target to template project

This fixes issue #888