rakefile and linking