build: Correctly put boost at end of LDADD

This fixes linking issues when statically linking
(thanks @imwuzhh).