Fix static builds on darwin

While investigating on how to provide easy-to-use static builds on darwin, I found out that ARIA2_STATIC=yes is broken on OSX...