Fixing link error in standalone mode