Add macos scripts for dependency building

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>