Don't assume Ubuntu; also support MacOS X

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>