Configure: support 'sed' options for Linux and OSX

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Configure: find: use -type instead of -xtype (OSX friendly)

Signed-off-by: Eduardo Silva <eduardo@monkey.io>