Fixing link warnings