Change the order of the linker arguments

Although this bug does not hit everyone, it does not hurt to reorder the
linker arguments (and thus prevent a possible runtime failure).