Accommodate for glibtoolize on macs
Follow convention from automake docs