Run dsymutil on OSX when in debug profile. Closes #685