Fix openbsd linking problem