Fix makesymlinks script