Made libraries link at the end, so Michael doesn't have to use a
workaround script.