make linking work on all machines