OS X build: fix libsecret 0.18 code generation issue

The sed command on OS X is too old to handle sed '1i\' properly. Thus
replace it by 'echo'.