replace wget with curl for mac. do install_name_tool magic later

this way tests work and it only needs pkg-config to build