As pointed out by this thread:
http://stackoverflow.com/questions/6940384/how-to-deal-with-symbol-collisions-between-statically-linked-librarieshttps://stackoverflow.com/questions/6940384/how-to-deal-with-symbol-collisions-between-statically-linked-libraries
there's an easy way to work around this problem using objcopy.