Fixed link script and added call to xrdb