Fixed issue #12. Reorder library dependency list.

It seems Debian is not as forgiving as Redhat on the external library list order.