Fix "Unresolved external" errors