Improve Rakefile for arbitrary linking
Add order option to usage